﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Stadsetjarinn.Models
{
    public class Recieved_Device_Data
    {
        [Key]
        public int Send_ID { get; set; }

        public int? Device_ID { get; set; }

        public double Latitude { get; set; }

        public double Longitude { get; set; }

        [Display(Name = "Registered User")]

        public string Registered_User { get; set; }

        public DateTime Description { get; set; }

        [ForeignKey("Device_ID")]
        public virtual Device_Groups Device_Groups { get; set; }
    }

    //public class Recieved_DeviceDBContext : DbContext
    //{
    //    public DbSet<Recieved_Device_Data> Recieved_Device_Data { get; set; }
    //}
}
